<%--
  Created by IntelliJ IDEA.
  User: 呆
  Date: 2017/10/3
  Time: 10:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="common.jsp"%>
    <script type="text/javascript" src="/static/views/orderbillall.js"></script>
</head>
<body>
<form id="form_orderbilllist">
    <div class="easyui-panel" data-options="title:'批改暂存单'" style="height: 280px;width: 100%">
        <div style="height: 30px;margin-top: 10px;margin-left: 100px">
            <select id="list_organization_id" style="width: 410px;" class="easyui-combobox" name="organizationId"
                    data-options="
                   url:'/organization/selectAll',
                   valueField:'id',
                   textField:'organizationName',
                   label:'承保机构',
                   labelPosition:'left',
                   ">
            </select>
        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <select id="list_product_id" style="width: 410px;" class="easyui-combobox" name="productId"
                    data-options="
                   url:'/product/selectByOrgId',
                   valueField:'id',
                   textField:'name',
                   label:'保险产品',
                   labelPosition:'left',
                   ">
            </select>
        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <input style="width: 410px;height: 25px" class="easyui-textbox"  name="orderBillNumber"
                   data-options="label:'申请单号:',labelPosition:'left'"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input style="width: 400px;height: 25px" class="easyui-textbox"  name="insurancePolicyNumber"
                   data-options="label:'保单号:',labelPosition:'left'"/>
        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <input style="width: 410px;height: 25px" class="easyui-textbox"  name="realName"
                   data-options="label:'投保人名称:',labelPosition:'left'"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input style="width: 250px" class="easyui-datebox"  name="applyTime_beginTime"
                   data-options="label:'投保申请日期:',labelPosition:'left',labelWidth:110,required:true"prompt="请选择起始日期(必选)"/> -
            <input style="width: 150px" class="easyui-datebox"  name="applyTime_endTime"
                   data-options="label:'',labelPosition:'left',labelWidth:10,required:true"prompt="请选择终止日期(必选)"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <input style="width: 250px" class="easyui-datebox"  name="beginTime"
                   data-options="label:'保险起期:',labelPosition:'left',labelWidth:85,required:true"prompt="请选择起始日期(必选)"/> -
            <input style="width: 150px" class="easyui-datebox"  name="endTime"
                   data-options="label:'',labelPosition:'left',labelWidth:10,required:true"prompt="请选择终止日期(必选)"/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <select style="width: 250px" class="easyui-combobox"  name="state"
                    data-options="label:'保单状态:',labelPosition:'left'">
                <option value="-1" selected>----模板类型----</option>
                <option value="0">暂存单</option>
                <option value="10">申请批改</option>
                <option value="11">批改通过</option>
                <option value="12">批改未通过</option>
                <option value="20">申请核保</option>
                <option value="21">核保通过</option>
                <option value="22">核保未通过</option>
                <option value="31">有效保单</option>
                <option value="32">无效保单</option>
            </select>
        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <input style="width: 410px;height: 25px" class="easyui-textbox"  name="carNumber"
                   data-options="label:'车牌号码:',labelPosition:'left'"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input style="width: 400px;height: 25px" class="easyui-textbox"  name="engineNumber"
                   data-options="label:'发动机号:',labelPosition:'left'"/>
        </div>
        <div style="height: 30px;margin-top: 5px;margin-left: 100px">
            <input style="width: 410px;height: 25px" class="easyui-textbox"  name="mainChassis"
                   data-options="label:'车架号:',labelPosition:'left'"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <select id="" style="width: 400px;" class="easyui-combobox" name="inputUser"
                    data-options="
                   url:'/employee/selectUser',
                   valueField:'sn',
                   textField:'name',
                   label:'业务员',
                   labelPosition:'left',
                   ">
            </select>
        </div>
    </div>
</form>
<table id="orderBillList_datagrid" style="height: 500px"></table>
<div id="datagrid_toolar" align="right">
    <div>
        <a id=""  class="easyui-linkbutton" data-options="iconCls:'icon-edit', plain:true" data-cmd="orderBillList_renewal">申请续保</a>
        <a id="orderBillList_search"  class="easyui-linkbutton" data-options="iconCls:'icon-search', plain:true" data-cmd="orderBillList_search" >搜索</a>
        <a id="orderBillList_reload"  class="easyui-linkbutton" data-options="iconCls:'icon-reload', plain:true" data-cmd="orderBillList_reload">刷新</a>
    </div>
</div>
<%--确认和取消的按钮--%>
<div id="dialog_check" align="right" style="background-color: #58e1ee">
    <a id=""  class="easyui-linkbutton" data-options=" plain:true" data-cmd="orderBillList_renewal"></a>
</div>
<%--申请批改时的弹窗--%>
<div id="dialog_checkApply">
    <input id="applyText" class="easyui-textbox" data-options="multiline:true" value="This TextBox will allow the user to enter multiple lines of text."
           style="width:300px;height:150px">
</div>
<%--申请批改时的弹窗按钮--%>
<div id="dialog_checkApplybtn">
    <div align="right">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-ok', plain:true" onclick="checkApply_ok()" >确认</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-reload', plain:true"  onclick="checkApply_cancel()">取消</a>
    </div>
</div>
<%--续保弹窗按钮--%>
<div id="dialog_renewalbtn">
    <div align="right">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-ok', plain:true" onclick="renewalbtn_ok()" >确认</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-reload', plain:true"  onclick="renewalbtn_cancel()">取消</a>
    </div>
</div>

<div id="dialog_renewal">
    <%--续保申请单的弹窗--%>
    <form id="form_renewal">
        <div class="easyui-panel" style="height:100%;width: 100%">
            <%--<div style="height: 30px;margin-top: 10px;margin-left: 10px">
                <select id="re_organization_id" style="width: 410px;" class="easyui-combobox" name="renewHistory"
                        data-options="
                       url:'/organization/selectAll',
                       valueField:'id',
                       textField:'organizationName',
                       label:'续保历史',
                       labelPosition:'left',
                       required:true
                       " prompt="请选择承保机构(必选)">
                </select>
            </div>--%>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <select id="" style="width: 410px;" class="easyui-combobox" name="applyClient"
                        data-options="
                   url:'/sourceClient/selectAll',
                   valueField:'id',
                   textField:'realName',
                   label:'续保人',
                   labelPosition:'left',
                   required:true
                   " prompt="请选择保险产品(必选)">
                </select>
            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <select id="" style="width: 410px;" class="easyui-combobox" name="inputUserSn"
                        data-options="
                   url:'/employee/selectUser',
                   valueField:'sn',
                   textField:'name',
                   label:'录入人',
                   labelPosition:'left',
                   required:true
                   " prompt="请选择保险产品(必选)">
                </select>
            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <input style="width: 410px;height: 25px" class="easyui-numberbox"  name="renewTime"
                       data-options="label:'续保时长:',labelPosition:'left'"/>

            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <input style="width: 410px;height: 25px" class="easyui-numberbox"  name="indangerTimes"
                       data-options="label:'出险次数:',labelPosition:'left'"/>
            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <input id="share" style="width: 410px;height: 25px" class="easyui-numberbox" precision="2"  name="share"
                       data-options="label:'对应折扣:',labelPosition:'left'"/>
            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <input id="price" style="width: 410px;height: 25px" class="easyui-numberbox" precision="2"  name="price"
                       data-options="label:'原保费:',labelPosition:'left'"/>
            </div>
            <div style="height: 30px;margin-top: 5px;margin-left: 10px">
                <input id="sharePrice" style="width: 410px;height: 25px" class="easyui-numberbox" precision="2"  name="sharePrice"
                       data-options="label:'折后保费:',labelPosition:'left'"/>
            </div>
            <div style="height: 80px;margin-top: 5px;margin-left: 10px">
                <input id="" class="easyui-textbox" name="remark" data-options="multiline:true,label:'备注:',laberPosition:'left'" value="This TextBox will allow the user to enter multiple lines of text."
                       style="width:410px;height:70px">
            </div>
        </div>
    </form>
</div>

</body>
</html>
